// 引入 request 文件
import request from './index.js'

export const pageStudyInfo = (params) => {
	return request({
		url: '/study/studyInfo/page',
		method: 'get',
		data: params,
        header: {} // 自定义
	})
}

// 用户信息
export const userInfoData = () => {
	return request({
		url: `/api/login/userinfo`,
		method: 'get',
	})
}
// 用户登录
export const orgLogin = (data) => {
	return request({
		url: `/api/org/doLogin`,
		method: 'POST',
		data
	})
}